github.com/klauspost/compress/zstd.sequenceDecs.maxSyncLen (field)
15 uses
github.com/klauspost/compress/zstd (current package)
blockdec.go#L496: if hist.decoders.maxSyncLen > 0 {
blockdec.go#L497: hist.decoders.maxSyncLen += uint64(before)
blockdec.go#L498: hist.decoders.maxSyncLen -= uint64(len(hist.decoders.out))
framedec.go#L338: d.history.decoders.maxSyncLen = 0
framedec.go#L340: d.history.decoders.maxSyncLen = uint64(cap(dst) - len(dst))
framedec.go#L343: if !d.o.limitToCap || d.FrameContentSize+uint64(len(dst)) < d.history.decoders.maxSyncLen {
framedec.go#L344: d.history.decoders.maxSyncLen = d.FrameContentSize + uint64(len(dst))
framedec.go#L346: if d.history.decoders.maxSyncLen > d.o.maxDecodedSize {
framedec.go#L348: println("maxSyncLen:", d.history.decoders.maxSyncLen, "> maxDecodedSize:", d.o.maxDecodedSize)
framedec.go#L353: println("maxSyncLen:", d.history.decoders.maxSyncLen)
framedec.go#L355: if !d.o.limitToCap && uint64(cap(dst)) < d.history.decoders.maxSyncLen {
framedec.go#L357: dst2 := make([]byte, len(dst), d.history.decoders.maxSyncLen+compressedBlockOverAlloc)
seqdec.go#L76: maxSyncLen uint64
seqdec_amd64.go#L59: if s.maxSyncLen == 0 && cap(s.out)-len(s.out) < maxCompressedBlockSize {
seqdec_amd64.go#L140: println("msl:", s.maxSyncLen, "cap", cap(s.out), "bef:", startSize, "sz:", size-startSize, "mbs:", maxBlockSize, "outsz:", cap(s.out)-startSize)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |